Espressif Systems /ESP32-S3 /MCPWM0 /CHOPPER0_CFG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CHOPPER0_CFG

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (CHOPPER0_EN)CHOPPER0_EN 0CHOPPER0_PRESCALE 0CHOPPER0_DUTY 0CHOPPER0_OSHTWTH 0 (CHOPPER0_OUT_INVERT)CHOPPER0_OUT_INVERT 0 (CHOPPER0_IN_INVERT)CHOPPER0_IN_INVERT

Description

Carrier enable and configuratoin

Fields

CHOPPER0_EN

When set, carrier0 function is enabled. When cleared, carrier0 is bypassed

CHOPPER0_PRESCALE

PWM carrier0 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1)

CHOPPER0_DUTY

carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8

CHOPPER0_OSHTWTH

width of the fist pulse in number of periods of the carrier

CHOPPER0_OUT_INVERT

when set, invert the output of PWM0A and PWM0B for this submodule

CHOPPER0_IN_INVERT

when set, invert the input of PWM0A and PWM0B for this submodule

Links

() ()